﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DxfNames
{
    class Program
    {
        //static void Main(string[] args)
        //{
        //    List<string> lst = new List<string>();
        //    string d = Path.GetFullPath(Environment.CurrentDirectory);
        //    //string d = @"C:\Users\YANG.LEI\Downloads\bug";
        //    foreach (string f in Directory.GetFiles(d, "*.dxf", SearchOption.AllDirectories))
        //    {
        //        lst.Add(Path.GetFileNameWithoutExtension(f));
        //    }
        //    string file = $"dxf_files_{Path.GetFileName( Environment.CurrentDirectory)}.txt";
        //    File.WriteAllLines(file, lst);
        //    Console.WriteLine(file);
        //    Console.ReadKey();
        //}

        [STAThread]
        static void Main()
        {
            //ReadSingleDxfFile(@"C:\Users\YANG.LEI\Downloads\bug\中文测试\10盘激光图.dxf");
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }
}
